package com.wondertek.service.entity.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wondertek.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description: 配件
 * @author: qinjianhui
 * @create: 2024-07-31 13:32
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("accessory")
public class AccessoryPo extends BaseEntity {
    /*
     * 配件编号
     * */
    @Schema(name = "accessoryCode",description = "配件编号")
    private String accessoryCode;

    /*
     * 配件名称
     * */
    @Schema(name = "accessoryName",description = "配件名称")
    private String accessoryName;

    /*
     * 是否删除：1：是，0：否
     * */
    @Schema(name = "isDelete",description = "是否删除：1：是，0：否")
    private Integer isDelete;

    /*
     * 分区id
     * */
    @Schema(name = "roomId",description = "分区id")
    private String roomId;

    @Schema(name = "snCode",description = "sn码")
    private String snCode;

    @Schema(name = "skCode",description = "sk码")
    private String skCode;

    @Schema(name = "typeDetailId",description = "类型id")
    private String typeDetailId;

    @Schema(name = "sensorType",description = "传感器⽅式 只有wirelessType为Defence时 此字段才有效，烟感传Smoke 必传")
    private String sensorType;

    @Schema(name = "wirelessType",description = "⽆线设备类型 Unknowntype-未知类型；KeyBoard-键盘；Defence-防区；RemoteControl-遥控器；Magnetomer-磁⼒计；AlarmBell-警号；SmartLock-智能锁；Switcher-插座；WirelessRepeater-中继器 必传")
    private String wirelessType;

    @Schema(name = "model",description = "配件型号 不同配件不⼀样，扫描配件⼆维 码即可查看,烟感传HY-SA21A 必传")
    private String model;

    @Schema(name = "accessoryType",description = "1-烟感，2-无线键盘，3-室外信号，4-门磁，5-升级门磁，6-pir相机，7-智能监控相机，8-Alarm KIT")
    private String accessoryType;

    @Schema(name = "status",description = "在线状态 1-在线，0-离线")
    private Integer status;

    @Schema(name = "armingEnable",description = "使能")
    private boolean armingEnable;
}

